package com.sitia.jd.domain.dto;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * 商品对象
 */
@Data

public class productDto {
    /**
     * 商品id
     */
    @NotEmpty(message = "商品id(sku)为空")
    private String id;
    @NotEmpty(message = "商品名称为空")
    private String name;
    private String type;
    CommonDto category;
}
